/*
 * @作者: kerwin
 * @公众号: 大前端私房菜
 */
// import React from 'react'
import store from '../redux/store'

import {useHistory,withRouter} from 'react-router-dom'

export default function Cinemas() {
    // const history  =useHistory()

    const cityRouter = () => {
        //1 -动态路由传参
        // history.push(`/SelectCity`)
    }
    return (
        <div>
            <div style={{height: '50px', margin: '10px'}} onClick={cityRouter}>
            city: {store.getState().CityReducer.cityName}

            </div>
            cinemas
        </div>
    )
}
